/* Body Properties */
body {
  padding-left    : [%style.BODY_PADDING%];
  padding-right   : [%style.BODY_PADDING%];
  padding-bottom  : [%style.BODY_PADDING%];
  padding-top     : [%style.BODY_PADDING%];
	margin          : [%style.BODY_PADDING%];
  background-image: url([%style.BODY_IMAGE%]);
  background-color: [%style.BODY_BGCOLOR%];
  color           : [%style.FONT_COLOR%];
}


/* Font Properties */
font       { font-size: [%style.FONT_SIZE%]; font-family: [%style.FONT_FACE%]; }
tr         { font-size: [%style.FONT_SIZE%]; font-family: [%style.FONT_FACE%]; }
font.error { color: [%style.FONT_ERROR%]; }

/* Link Properties */
a         { color: [%style.LINK_COLOR%]; text-decoration: none; }
a:link    { color: [%style.LINK_COLOR%]; }
a:visited { color: [%style.LINK_VCOLOR%]; }
a:hover   { color: [%style.LINK_HCOLOR%]; text-decoration: underline; }
a:active  { color: [%style.LINK_ACOLOR%]; text-decoration: underline; }

/* Main Table Properties */
table.main         { width: [%style.MAIN_WIDTH%]; }
table.main-border  { background-color: [%style.MAIN_BORDER%]; }
tr.main-background { background-color: [%style.MAIN_BGCOLOR%]; }
table.row-border   { background-color: [%style.MAIN_ROWBORDER%]; }

/* Title Properties */
tr.title   { background-color: [%style.TITLE_BGCOLOR%]; }
font.title { font-size: [%style.TITLE_SIZE%]; color: [%style.TITLE_COLOR%]; }

/* Location Properties */
font.location { font-size: [%style.LOCATION_SIZE%]; color: [%style.LOCATION_COLOR%]; }

/* Menu Properties */
tr.menu        { background-color: [%style.MENU_BGCOLOR%]; }
font.menu      { font-size: [%style.MENU_SIZE%]; color: [%style.MENU_COLOR%]; }

/* "Powered by" Notice Properties */
font.powered { font-size: 10px; }

/* Main Header Properties */
tr.header   { background-image: url([%style.HEADER_IMAGE%]); background-color: [%style.HEADER_BGCOLOR%]; }
font.header { font-weight: bold; font-size: [%style.HEADER_SIZE%]; color: [%style.HEADER_COLOR%]; }

/* Main Dialog Properties */
tr.body { background-color: [%style.DIALOG_BGCOLOR%]; }

/* Inner Table Properties */
table.table-border { background-color: [%style.INNER_BORDER%]; }
table.table        { background-color: [%style.INNER_BGCOLOR%]; }

/* Inner Header Properties */
tr.table-header   { background-color: [%style.IHEADER_BGCOLOR%]; }
font.table-header { font-weight: bold; font-size: [%style.IHEADER_SIZE%]; color: [%style.IHEADER_COLOR%]; }

/* Row Properties */
tr.table-row   { background-color: [%style.ROW_BGCOLOR%]; }
font.table-row { font-size: [%style.ROW_SIZE%]; color: [%style.ROW_COLOR%]; }

/* Footer Properties */
tr.table-footer   { background-color: [%style.FOOTER_BGCOLOR%]; }
font.table-footer { font-size: [%style.FOOTER_SIZE%]; color: [%style.FOOTER_COLOR%]; }

/* Bottom Bar Properties */
tr.bottombar { height: [%style.BOTTOMBAR_HEIGHT%]; background-color: [%style.BOTTOMBAR_BGCOLOR%]; }

/* Form Properties */
font.form-required { font-size: [%style.REQUIRED_SIZE%]; color: [%style.REQUIRED_COLOR%]; font-weight: bold; }
font.form-subject  { font-size: [%style.SUBJECT_SIZE%]; font-weight: bold; color: [%style.SUBJECT_COLOR%]; }
font.form-field    { font-size: [%style.FIELD_SIZE%]; color: [%style.FIELD_COLOR%]; }
font.form-label    { font-size: [%style.LABEL_SIZE%]; color: [%style.LABEL_COLOR%]; }

input, select, textarea { font-family: [%style.FORM_FACE%]; background-color: [%style.FORM_BGCOLOR%]; font-size: [%style.FORM_SIZE%]; color: [%style.FORM_COLOR%]; }
input.form-textbox, textarea.form-textarea, select.form-selectbox { width: [%style.FORM_WIDTH%]; }

/* Divider Properties */
td.table-divider1 { background-color: [%style.DIVIDER_BGCOLOR1%]; }
td.table-divider2 { background-color: [%style.DIVIDER_BGCOLOR2%]; }